#include <stdio.h>

int main()
{
  char *s1 = "Hello";
  char *s2 = "Hello";
  char s3[] = "Hello";
  /**
   * 字符串指针 存放于常量区(只读)，相同字符串存放位置相同，所以不能变更，一旦变更影响其他绑定到该位置的变量
   */
  printf("s1 address = %p\n", s1);
  printf("s2 address = %p\n", s2);
  printf("s3 address = %p\n", s3);

  char *s4 = s2;
  printf("s4 address = %p\n", s4);

  return 0;
}
